﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DBB RID: 3515
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RaidCollectionDataScRsp : IMessage<RaidCollectionDataScRsp>, IMessage, IEquatable<RaidCollectionDataScRsp>, IDeepCloneable<RaidCollectionDataScRsp>, IBufferMessage
	{
		// Token: 0x17002CA0 RID: 11424
		// (get) Token: 0x06009DC3 RID: 40387 RVA: 0x001A5D71 File Offset: 0x001A3F71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RaidCollectionDataScRsp> Parser
		{
			get
			{
				return RaidCollectionDataScRsp._parser;
			}
		}

		// Token: 0x17002CA1 RID: 11425
		// (get) Token: 0x06009DC4 RID: 40388 RVA: 0x001A5D78 File Offset: 0x001A3F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RaidCollectionDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002CA2 RID: 11426
		// (get) Token: 0x06009DC5 RID: 40389 RVA: 0x001A5D8A File Offset: 0x001A3F8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RaidCollectionDataScRsp.Descriptor;
			}
		}

		// Token: 0x06009DC6 RID: 40390 RVA: 0x001A5D91 File Offset: 0x001A3F91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionDataScRsp()
		{
		}

		// Token: 0x06009DC7 RID: 40391 RVA: 0x001A5DA4 File Offset: 0x001A3FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionDataScRsp(RaidCollectionDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.challengeList_ = other.challengeList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009DC8 RID: 40392 RVA: 0x001A5DDA File Offset: 0x001A3FDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionDataScRsp Clone()
		{
			return new RaidCollectionDataScRsp(this);
		}

		// Token: 0x17002CA3 RID: 11427
		// (get) Token: 0x06009DC9 RID: 40393 RVA: 0x001A5DE2 File Offset: 0x001A3FE2
		// (set) Token: 0x06009DCA RID: 40394 RVA: 0x001A5DEA File Offset: 0x001A3FEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002CA4 RID: 11428
		// (get) Token: 0x06009DCB RID: 40395 RVA: 0x001A5DF3 File Offset: 0x001A3FF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<OKFNNPMACMO> ChallengeList
		{
			get
			{
				return this.challengeList_;
			}
		}

		// Token: 0x06009DCC RID: 40396 RVA: 0x001A5DFB File Offset: 0x001A3FFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RaidCollectionDataScRsp);
		}

		// Token: 0x06009DCD RID: 40397 RVA: 0x001A5E0C File Offset: 0x001A400C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RaidCollectionDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.challengeList_.Equals(other.challengeList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009DCE RID: 40398 RVA: 0x001A5E5C File Offset: 0x001A405C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.challengeList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009DCF RID: 40399 RVA: 0x001A5EA9 File Offset: 0x001A40A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009DD0 RID: 40400 RVA: 0x001A5EB1 File Offset: 0x001A40B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009DD1 RID: 40401 RVA: 0x001A5EBC File Offset: 0x001A40BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.challengeList_.WriteTo(ref output, RaidCollectionDataScRsp._repeated_challengeList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009DD2 RID: 40402 RVA: 0x001A5F0C File Offset: 0x001A410C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.challengeList_.CalculateSize(RaidCollectionDataScRsp._repeated_challengeList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009DD3 RID: 40403 RVA: 0x001A5F60 File Offset: 0x001A4160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RaidCollectionDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.challengeList_.Add(other.challengeList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009DD4 RID: 40404 RVA: 0x001A5FAD File Offset: 0x001A41AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009DD5 RID: 40405 RVA: 0x001A5FB8 File Offset: 0x001A41B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.challengeList_.AddEntriesFrom(ref input, RaidCollectionDataScRsp._repeated_challengeList_codec);
				}
			}
		}

		// Token: 0x04003CD6 RID: 15574
		private static readonly MessageParser<RaidCollectionDataScRsp> _parser = new MessageParser<RaidCollectionDataScRsp>(() => new RaidCollectionDataScRsp());

		// Token: 0x04003CD7 RID: 15575
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CD8 RID: 15576
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04003CD9 RID: 15577
		private uint retcode_;

		// Token: 0x04003CDA RID: 15578
		public const int ChallengeListFieldNumber = 3;

		// Token: 0x04003CDB RID: 15579
		private static readonly FieldCodec<OKFNNPMACMO> _repeated_challengeList_codec = FieldCodec.ForMessage<OKFNNPMACMO>(26U, OKFNNPMACMO.Parser);

		// Token: 0x04003CDC RID: 15580
		private readonly RepeatedField<OKFNNPMACMO> challengeList_ = new RepeatedField<OKFNNPMACMO>();
	}
}
